<ion-view view-title="搜索" cache-view="false" ng-init="init()" hide-back-button="false">
  <section>
    <ion-content class="gray_back">
        <section class="g_main">
        <div class="search-warp">
          <div class="iptbox search_box"  style="background-color: white;">
                <input type="text" id="complete" style="text-align: left;" class="ng-pristine ng-valid ng-touched" placeholder="搜索位置、公交站、地铁站" maxlength="256"   ng-model="search_text">
                
                <div id="searchbtn" class="usel" ng-click="search(1)">
                    <i class="icon icon_map_search" style="left:60px"></i>
                </div>
            </div>
         </div>
         <div class="search-result">
          <div ng-show="isNotResult">暂无搜索结果</div>
         
          <div class="list">
          <div class="item item-button-right" ng-repeat="item in data">
             <div class="map-title">{{item.name}}</div>
             <div class="map-addr">{{item.address}}</div>
            <button class="button button-positive" ng-click="selectAddr('{{item.id}}')">
              选择
            </button>
           </div>
          </div>

         </div>
         
         
        </section>
        
          
      </ion-content>
      <ion-footer-bar align-title="left" class="bar-assertive search-footer">
      </ion-footer-bar>
      <div class="bar bar-footer search-footer">
        <div class="search-page">
          <button class="button button-positive" id="btn-prev" ng-click="prevPage()" ng-disabled="prevDisabled">上一页</button>
          <button class="button button-positive"   id="btn-next" ng-click="nextPage()" ng-disabled="nextDisabled">下一页</button>
       </div>
      </div>
  </section>
  
</ion-view>